<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta charset="utf-8">
	<title>{$tpshop_config['shop_info_store_title']}</title>
	<meta name="keywords" content="{$tpshop_config['shop_info_store_keyword']}" />
	<meta name="description" content="{$tpshop_config['shop_info_store_desc']}" />
</head>
<body>
<!--------頭部開始-------------->
<include file="Public/header" />
<script src="__STATIC__/js/jquery.bxslider.js"></script>
<link rel="stylesheet" type="text/css" href="__STATIC__/css/jquery.bxslider.css">
<link rel="stylesheet" type="text/css" href="__STATIC__/css/onlineservice.css">
<script>
//显示二维码
function qrcode_show()
{
	layer.open({
		type: 1,
		skin: 'layui-layer-rim', //加上边框
		area: ['300px', '310px'], //宽高
		shadeClose: true, //开启遮罩关闭
		title: '订阅公众号',
		content: '<div class="qrcode_div"><img src="__STATIC__/images/qrcode_wechat.jpg" /></div>'
	});
}
</script>

<div class="index_banner" style="background-image:url('{$config[banner_img]}')">
  <include file="Public/topnav" />

  <div class="insearch">
    <div class="pad">
      <div class="mar">
        <form action="{:U('Goods/goodsList')}" method="post">
          <input type="hidden" name="type_id" id="search_type" value="3" />
          <div class="insearch_a">
            <a href="{:U('Goods/goodsList')}">我要买店</a>
            <if condition="$user_id gt 0">
            <a href="{:U('Home/User/add_seller')}">我要卖店</a>
            <else/>
            <!--<a href="javascript:;" onclick="buy_seller()">我要卖店</a>-->
            <a href="{:U('Home/Index/seller_form')}">我要卖店</a>
            </if>
          </div>
          
          <div class="insearch_bot">
            <div class="insearch_sear">
              <div class="fl"><input class="insearch_seat" type="text" name="keywords" /></div>
              <div class="fr"><button class="insearch_seab" type="submit">立即搜索</button></div>
              <div class="clear"></div>
            </div>
          </div><!--insearch_bot-->
          
          <div class="insearch_top">
            <div class="insearch_fl">
              <div class="gcheckbox gcheckbox_on" onclick="gchecked(this,'3','#search_type')">
                <div class="fl"><div class="bg"><div class="bg2"></div></div></div>
                <div class="fi">天猫店</div>
                <div class="clear"></div>
              </div>
              <div class="gcheckbox" onclick="gchecked(this,'4','#search_type')">
                <div class="fl"><div class="bg"><div class="bg2"></div></div></div>
                <div class="fi">淘宝店</div>
                <div class="clear"></div>
              </div>
              <div class="gcheckbox" onclick="gchecked(this,'5','#search_type')">
                <div class="fl"><div class="bg"><div class="bg2"></div></div></div>
                <div class="fi">京东店</div>
                <div class="clear"></div>
              </div>
              <div class="gcheckbox gcheckbox_last" onclick="gchecked(this,'6','#search_type')">
                <div class="fl"><div class="bg"><div class="bg2"></div></div></div>
                <div class="fi">其他店</div>
                <div class="clear"></div>
              </div>
              <div class="clear"></div>
            </div><!--insearch_fl-->
  
            <div class="insearch_fr">
              <div class="pad">
              <div class="fl"><i class="icon-xiaolaba"></i><span> 网站公告：</span></div>
              <div class="fi">
                <ul class="bxslider">
                  <volist name="article_list" id="v">
                    <li><a href="{:U('article/detail',array('article_id'=>$v['article_id']))}" title="{$v.title}">{$v.cuttitle}</a></li>
                  </volist>
                </ul>
              </div>
                <script>
                    $(document).ready(function(){
                        $('.bxslider').bxSlider({
                            mode:'vertical',
                            auto: true,
                            speed: 700,
                            pager: false,
                            pause: 3500,
                            controls: false,
                            autoDirection: 'next'
                        });
                    });
                </script>
              <div class="clear"></div>
              </div>
            </div><!--insearch_fr-->
            <div class="clear"></div>
          </div><!--insearch_top-->
        </form>
      </div>
    </div>
  </div><!--insearch-->
</div>
<!--------頭部結束-------------->

<div class="row">
  <div class="row_part row_part1">
    <a href="{:U('Article/detail',array('article_id'=>24))}">
    <div class="pic">
      <div class="row_word">
        <div class="h1">关于朋伴</div>
        <div class="h2">陪伴您最好的朋友</div>
      </div>
      <img src="__STATIC__/images/row1.jpg" />
    </div>
    </a>
  </div><!--row_part-->

  <div class="row_part row_part1">
    <a href="{:U('Article/detail',array('article_id'=>29))}">
    <div class="pic">
      <div class="row_word">
        <div class="h1">服务流程</div>
        <div class="h2">网店买卖服务交易流程</div>
      </div>
      <img src="__STATIC__/images/row2.jpg" />
    </div>
    </a>
  </div><!--row_part-->

  <div class="row_part row_part1">
    <a href="/Home/Article/detail/article_id/24.html#about_2">
    <div class="pic">
      <div class="row_word">
        <div class="h1">朋伴的优势</div>
        <div class="h2">光辉岁月积累的沉淀</div>
      </div>
      <img src="__STATIC__/images/row3.jpg" />
    </div>
    </a>
  </div><!--row_part-->

  <div class="row_part row_part1">
    <a href="javascript:void(0)" onclick="qrcode_show()">
    <div class="pic">
      <div class="row_word">
        <div class="h1">关注我们</div>
        <div class="h2">订阅公众号</div>
      </div>
      <img src="__STATIC__/images/row4.jpg" />
    </div>
    </a>
  </div><!--row_part-->
  <div class="clear"></div>
</div><!--row-->

<div class="buyinto">
  <div class="page_margin">
    <div class="index_tit"><div class="index_titin"><p>购买入口</p></div></div>

    <div class="buyinto_con">
      <!--<div class="buyinto_part buyinto_part1"><a href="{:U('Home/Goods/goodsList',array('type_id'=>3))}"><p>天猫网店</p></a></div>
      <div class="buyinto_part buyinto_part2"><a href="{:U('Home/Goods/goodsList',array('type_id'=>4))}"><p>淘宝网店</p></a></div>
      <div class="buyinto_part buyinto_part3"><a href="{:U('Home/Goods/goodsList',array('type_id'=>5))}"><p>京东网店</p></a></div>
      <div class="buyinto_part buyinto_part4"><a href="{:U('Home/Goods/goodsList',array('type_id'=>6))}"><p>更多平台</p></a></div>
      <div class="clear"></div>-->
      <div class="buyimg_hide"><img src="{$config[index_icon1]}" /><img src="{$config[index_icon1_m]}" /><img src="{$config[index_icon2]}" /><img src="{$config[index_icon2_m]}" /><img src="{$config[index_icon3]}" /><img src="{$config[index_icon3_m]}" /><img src="{$config[index_icon4]}" /><img src="{$config[index_icon4_m]}" /></div>
      <style>
        a.ico01 {background-image:url("{$config[index_icon1]}");}
        a.ico01:hover {background-image:url("{$config[index_icon1_m]}");}
        a.ico02 {background-image:url("{$config[index_icon2]}");}
        a.ico02:hover {background-image:url("{$config[index_icon2_m]}");}
        a.ico03 {background-image:url("{$config[index_icon3]}");}
        a.ico03:hover {background-image:url("{$config[index_icon3_m]}");}
        a.ico04 {background-image:url("{$config[index_icon4]}");}
        a.ico04:hover {background-image:url("{$config[index_icon4_m]}");}
      </style>
      <div id="qqlist">
        <div class="onservice">
          <div class="oimg">
            <a href="{:U('Home/Goods/goodsList',array('type_id'=>3))}" class="ico01 ease04">&nbsp;</a>
          </div>
          <div class="circles">
            <div class="circle c-1"></div>
            <div class="circle c-2"></div>
            <div class="circle c-3"></div>
          </div>
        </div>

        <div class="onservice">
          <div class="oimg">
            <a href="{:U('Home/Goods/goodsList',array('type_id'=>4))}" class="ico02 ease04">&nbsp;</a>
          </div>
          <div class="circles">
            <div class="circle1 c-1"></div>
            <div class="circle1 c-2"></div>
            <div class="circle1 c-3"></div>
          </div>
        </div>

        <div class="onservice">
          <div class="oimg">
            <a href="{:U('Home/Goods/goodsList',array('type_id'=>5))}" class="ico03 ease04">&nbsp;</a>
          </div>
          <div class="circles">
            <div class="circle2 c-1"></div>
            <div class="circle2 c-2"></div>
            <div class="circle2 c-3"></div>
          </div>
        </div>

        <div class="onservice">
          <div class="oimg">
            <a href="{:U('Home/Goods/goodsList',array('type_id'=>6))}" class="ico04 ease04">&nbsp;</a>
          </div>
          <div class="circles">
            <div class="circle3 c-1"></div>
            <div class="circle3 c-2"></div>
            <div class="circle3 c-3"></div>
          </div>
        </div>
        <div class="clear"></div>
      </div><!--qqlist-->
    </div><!--buyinto_con-->
  </div><!--page_margin-->
</div><!--buyinto-->
<script>
$(document).ready(function(){
	$(".onservice").mousemove(function(){
		$(this).addClass("onservice_on");
	});
	$(".onservice").mouseout(function(){
		$(this).removeClass("onservice_on");
	});
	/*$(".onservice .otip .span1").click(function(){
		$(".onservice").removeClass("onservice_on");
	});*/
});
</script>

<div class="incase page_margin">
  <div class="index_tit"><div class="index_titin"><p>成交案例</p><span class="more"><a href="{:U('Case/index')}">更多</a></span></div></div>

  <if condition="$case_list">
  <div class="incase_con">
    <ul class="bxslider2">
      <if condition="$lists1">
       <li>
        <foreach name="lists1" key="k" item="v">
          <div class="case_part">
            <div class="case_pad">
              <div class="casepic">
                <div class="caseno">
                  <p>{$v.add_time|date='m-d',###}期</p>
                </div>
                <a href="{:U('Case/detail',array('id'=>$v[id]))}"><img class="case_img" src="{$v.images}" /></a>
              </div>
              <div class="case_word">
                <div class="case_p1"><a href="{:U('Case/detail',array('id'=>$v[id]))}">{$v.title}</a></div>
                <div class="case_p2">

                  <p>网店类型：
                    <php>if($v[goods][goods_type]==3){</php>
                    <img class="sico" src="__STATIC__/images/sico_tm.png" />
                    <php>}elseif($v[goods][goods_type]==4){</php>
                    <img class="sico" src="__STATIC__/images/sico_tb.png" />
                    <php>}elseif($v[goods][goods_type]==5){</php>
                    <img class="sico" src="__STATIC__/images/sico_jd.png" />
                    <php>}elseif($v[goods][goods_type]==6){</php>
                    <img class="sico" src="__STATIC__/images/sico_qt.png" />
                    <php>}</php>

                  </p>
                  <p>网店价格：{$v[goods][price]}</p>
                  <p>一级类目：{$v[goods][epmi]}</p>
                </div>
                <div class="case_p3">{$v.content}</div>
              </div><!--case_word-->
            </div><!--case_pad-->
          </div>

        </foreach>
        </li>
        </if>

        <if condition="$lists2">
        <li>
        <foreach name="lists2" key="k" item="v">
          <div class="case_part">

            <div class="case_pad">
              <div class="casepic">
                <div class="caseno">
                  <p>{$v.add_time|date='m-d',###}期</p>
                </div>
                <a href="{:U('Case/detail',array('id'=>$v[id]))}"><img class="case_img" src="{$v.images}" /></a>
              </div>
              <div class="case_word">
                <div class="case_p1"><a href="{:U('Case/detail',array('id'=>$v[id]))}">{$v.title}</a></div>
                <div class="case_p2">

                  <p>网店类型：
                    <php>if($v[goods][goods_type]==3){</php>
                    <img class="sico" src="__STATIC__/images/sico_tm.png" />
                    <php>}elseif($v[goods][goods_type]==4){</php>
                    <img class="sico" src="__STATIC__/images/sico_tb.png" />
                    <php>}elseif($v[goods][goods_type]==5){</php>
                    <img class="sico" src="__STATIC__/images/sico_jd.png" />
                    <php>}elseif($v[goods][goods_type]==6){</php>
                    <img class="sico" src="__STATIC__/images/sico_qt.png" />
                    <php>}</php>

                  </p>
                  <p>网店价格：{$v[goods][price]}</p>
                  <p>一级类目：{$v[goods][epmi]}</p>
                </div>
                <div class="case_p3">{$v.content}</div>
              </div><!--case_word-->
            </div><!--case_pad-->
          </div><!--case_part-->
        </foreach>
        </li>
        </if>
    </ul>

    <script>
      $(document).ready(function(){
          var type ='{$type1}';
            if(type=='buy_seller1'){
                buy_seller();
            }




        $('.bxslider2').bxSlider({
          mode:'horizontal',
          auto: false,
          speed: 700,
          pager: false,
          pause: 3500,
          controls: true,
          autoDirection: 'next'
        });
      });
    </script>
  </div><!--incase_con-->
  </if>
</div><!--incase-->

<div class="inliucheng">
  <div class="inliucheng_in page_margin">
    <div class="index_tit"><div class="index_titin"><p>购买流程</p></div></div>
    <div class="inliucheng_con"><img src="{$config[lead_img]}" /></div>
  </div>
</div><!--inliucheng-->

<div class="inform page_margin">
  <div class="index_tit"><div class="index_titin"><p>需求跟踪</p></div></div>

  <form action="{:U('Home/Index/sub_need')}" method="post" onsubmit="return ifinform(this)">
  <div class="inform_con">
    <div class="inform_fl">
      <div class="inform_div">
        <div class="fl">您的需求</div>
        <div class="fr">
          <div class="inform_pad">
            <select name="xtype" id="xtype" class="inform_sel">
              <option value="1">我要买店</option>
              <option value="2">我要卖店</option>
            </select>
          </div>
        </div>
        <div class="clear"></div>
      </div><!--inform_div-->

      <div class="inform_div">
        <div class="fl">您的姓名</div>
        <div class="fr">
          <div class="inform_pad"><input class="inform_text" type="text" id="name" name="name" /></div>
        </div>
        <div class="clear"></div>
      </div><!--inform_div-->

      <div class="inform_div">
        <div class="fl">您的手机</div>
        <div class="fr">
          <div class="inform_pad"><input class="inform_text" type="text" id="mobile" name="mobile" /></div>
        </div>
        <div class="clear"></div>
      </div><!--inform_div-->

      <div class="inform_div">
        <div class="fl">您的QQ</div>
        <div class="fr">
          <div class="inform_pad"><input class="inform_text" type="text" id="qqnum" name="qqnum" /></div>
        </div>
        <div class="clear"></div>
      </div><!--inform_div-->
      <div class="clear"></div>
    </div><!--inform_fl-->

    <div class="inform_fr">
      <textarea class="inform_textarea" name="content" id="content" placeholder="请输入您的需求"></textarea>
    </div><!--inform_fr-->

    <div class="clear"></div>
    <div class="inform_sub"><button class="inform_submit" type="submit">发布需求</button><div></div></div>
  </div><!--inform_con-->
  </form>
</div><!--inform-->

<!--------footer-開始-------------->
<include file="Public/ikefu" />
<include file="Public/footer" />
<!--------footer-結束-------------->

<script src="__STATIC__/js/user_after.js"></script>
<script src="__PUBLIC__/js/jqueryUrlGet.js"></script><!--獲取get參數插件-->
<script>
function showgad()
{
	html = '<div class="showgad"><div class="bor">'
	html += '<div class="showgad_laba"></div><div class="showgad_tit">{$msg_config[index_msg_title]}<span onclick="hidegad()">×</span></div>';
	html += '<div class="showgad_con"><a href="{$msg_config[index_msg_link]}" target="_blank"><img src="{$msg_config[index_msg_img]}" /></a></div>';
	html += '</div></div>';
	var index = layer.open({
		type: 1,
		shade: [0.3,'#ffffff'], //0.1透明度的白色背景
		//skin: 'layui-layer-rim', //加上边框
		skin: 'layui-layer-sendform', //样式类名
		area: ['500px', ''], //宽高
		title: false,
		offset: '34%',
		content: html,
		closeBtn: 0,
		shadeClose: true //开启遮罩关闭
	});

}
function hidegad()
{
  layer.closeAll();
}
</script>

<if condition="$msg_config[index_msg_status] eq 1">
<script>
setTimeout(function(){
	showgad();
},2000);
</script>
</if>

<script>
    function buy_seller() {
        $('#xtype').val(2);
        $('#name').focus();
    }

   function ifinform() {
      var mobile =$('#mobile').val();
      var name =$('#name').val();
      var qqnum =$('#qqnum').val();
      var content =$('#content').val();
      if(!name)
      {
          layer.tips('姓名不能为空', '#name', {tips: [1, '#f39800']});
          return false;
      }

      if(mobile.length<11)
      {
          layer.tips('手机号码有误', '#mobile', {tips: [1, '#f39800']});
          return false;
      }

      if(!qqnum)
      {
          layer.tips('QQ不能为空', '#qqnum', {tips: [1, '#f39800']});
          return false;
      }
      if(!content)
      {
          layer.tips('描述不能为空', '#content', {tips: [1, '#f39800']});
          return false;
      }

   }
  
  
  
  
  
  
    set_first_leader(); //設置推薦人
    // 如果是手機瀏覽器跳到手機
    if(isMobileBrowser())
        location.href="{:U('Mobile/Index/index')}";
</script>

</body>
</html>